package com.example.jnitest2;

import android.util.Log;

public class Bean2 {
    static String TAG = "Bean";
    int i = 1234;

    public Bean2(int i) {
        this.i = i;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        Log.i(TAG,"有人调用了我:"+i);
        this.i = i;
    }
    public static void printInfo(String msg)
    {
        Log.e(TAG,msg);
    }
    public static void printInfo(Bean2 bean)
    {
        Log.e(TAG,"参数是object:"+bean.i);
    }
}
